home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: Mark Nelson <markn@airmail.net>
- Newsgroups: comp.lang.c,comp.lang.pascal.borland,comp.lang.pascal.ansi-iso
- Subject: Re: I'd like some UART & serial communication routines
- Date: Sun, 14 Apr 1996 12:17:02 -0500
- Organization: customer of Internet America
- Message-ID: <3171330E.FA2@airmail.net>
- References: <51967.gaal0004@maroon.tc.umn.edu>
- NNTP-Posting-Host: dal21-20.ppp.iadfw.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- Lawrence L. Gaalswyk wrote:
- >
- > I am looking for some free Borland C/C++ or Turbo Pascal routines
- > to program the 8250/8251/16550 UART registers and to read and write
- > characters to comm ports on 80x86's. Any help would be appreciated.
- >
- > Basically, it would be great if I had self-contained modules that I
- > can call from a Pascal progam to initialize the UART, set the
- > data/parity/stop bits/speed/etc, and, of course, to read
- > and write a character, and to set and check the handshake signals (DTR,
- > RTS,etc.). Hopefully that's not too much to ask.
- >
-
- Hi Lawrence,
-
- Check my home page under "Articles", and you will find a couple of pieces
- regarding talking to UARTs from C. The code is attached to the web page
- and should work find with Borland C/C++.
-
- You can also get information on my book "Serial Communications: A C++
- Developer's Guide", which has the same stuff but much more detail.
-
- Mark Nelson
- http://web2.airmail.net/markn
-